//
//  ThreeVC.m
//  yuanjiang
//
//  Created by YuanJiang on 2019/9/19.
//  Copyright © 2019 llbt. All rights reserved.
//

#import "ThreeVC.h"
#import "Model.h"
@interface ThreeVC ()

@end

@implementation ThreeVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"字典转模型";
    
    NSDictionary *dic = @{
                          @"yi":@"义",
                          @"li":@"礼",
                          @"xin":@12,
                          @"lia":@"廉"
                          };
    Model *model = [Model modelWithDictionary:dic];
    
    NSLog(@"%@\n%@\n%@\n%@",model.li,model.yi,model.xin,model.lian);
    
}


@end
